package com.gxa.autoparts.portal.service;

import com.gxa.autoparts.core.exception.BusinessException;
import com.gxa.autoparts.core.pojo.AttributeValue;
import com.gxa.autoparts.core.pojo.GoodsSku;

import java.util.List;
import java.util.Map;

public interface AttributeKeyService {
    List<Map<String,Object>> getAttribute(List<GoodsSku> skus) throws BusinessException;

    /**
     * 暂时未使用
     * @param keyId
     * @return
     */
    List<AttributeValue> getSonAttribute(Long keyId);


    /**
     * 根据名字查询分类信息
     * @param name
     * @return
     */
    public AttributeValue getAttributeValueByName(String name);
}
